package 开闭原则;

/**
 * @ClassNameWindowsClient
 * @Description
 * @Author
 * @Date2021/11/11 10:43
 **/
public class WindowsClient {
    AbstractSubject subject;
    void display(){
        this.subject.display();
    }

    public WindowsClient(AbstractSubject subject) {
        this.subject = subject;
        display();
    }
}
